package top.jiangqiang.qyblog.core.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Jiangqiang
 * @version 1.0
 * @date 2022/12/7 9:58
 */
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Data
@Schema(name = "存储器属性配置", description = "")
public class StoragePropertiesUpdateDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "accessKey", example = "LTAI5tQEFJNuUjDX9D1A21Ac")
    @NotBlank(message = "keyId不能为空")
    private String accessKey;
    @Schema(description = "accessSecret", example = "JtjQ2wnDSKjzuzdRdLBf6zDy5DjkA1")
    @NotBlank(message = "accessSecret不能为空")
    private String accessSecret;
}
